package com.ruicar.afs.cloud.admin.api.feign;

import com.ruicar.afs.cloud.admin.api.dto.DeptDto;
import com.ruicar.afs.cloud.common.core.util.IResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
@FeignClient(value = "${com.ruicar.service-names.admin-server}",contextId = "sys-dept-info")
public interface AfsDeptFeign {
    @PostMapping(value = "/department/getDeptInfoById/{id}")
    IResponse<DeptDto> getDeptInfoById(@PathVariable(name = "id") Long id);
}
